<?php

class Word {

	public function getId() {
		return $this->id;
	}
	
	public function setId($id) {
		$this->id = $id;
	}
	
	public function getUserid() {
		return $this->userid;
	}
	
	public function setUserid($userid) {
		$this->userid = $userid;
	}
	
	public function getKey() {
		return $this->key;
	}
	
	public function setKey($key) {
		$this->key = $key;
	}
	
	public function getPS() {
		return $this->ps;
	}
	
	public function setPS($ps) {
		$this->ps = $ps;
	}
	
	public function getPron() {
		return $this->pron;
	}
	
	public function setPron($pron) {
		$this->pron = $pron;
	}
	
	public function getAcceptation() {
		return $this->acceptation;
	}
	
	public function setAcceptation($acceptation) {
		$this->acceptation = $acceptation;
	}
	
	public function getStatus() {
		return $this->status;
	}
	
	public function setStatus($status = 'inbox') {
		$this->status = $status;
	}
	
	public function getAddTime() {
		return $this->addtime;
	}
	
	public function setAddTime($addtime) {
		$this->addtime = $addtime;
	}
	
	public function getUnit() {
		return $this->unit;
	}
	
	public function setUnit($unit = 0) {
		$this->unit = $unit;
	}
	
	private $id = 0;
	private $userid = 0;
	
	private $key = '';
	private $ps = '';
	private $pron = '';
	private $acceptation = '';
	private $status = 'inbox'; #inbox treas done
	private $unit = 0;
	
	private $addtime = '0000-00-00 00:00:00';
}
?>